<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	
<ui:composition template="/WEB-INF/templates/basic_template.xhtml">
<ui:define name="content">

	<h:form>
		<h1 align="center">Login Page</h1>
		 
		<table align="center">
			<tr>
				<td>User Id</td>
				<td><h:inputText id="employeeUserId" required="true"
						value="#{loginBean.employeeUserId}" label="employeeUserId" requiredMessage="UserId is required !!"></h:inputText>
					</td>
					<td><h:link value="Forgot UserId ?" outcome="forgotUserId" /></td>
			</tr>
			<tr>
				<td>Password</td>
				<td><h:inputSecret id="employeePassword" required="true"
						value="#{loginBean.employeePassword}" label="employeePassword" requiredMessage="Password is required !!"></h:inputSecret>
					</td><td><h:link value="Forgot Password ?" outcome="forgotPassword" /></td>
			</tr>
			<tr><td></td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<h:commandButton value="Login" action="#{loginBean.validateUser}" id="loginbutton" /> &nbsp;&nbsp;</td>
			<td></td></tr>
		</table>
		
		



		
		
	</h:form>
	</ui:define>
</ui:composition>
</html>